package com.rxyl.love.petdoctor.entity;

import java.util.List;

/**
 * Created by dd on 2016/1/18 0018.
 */
public class HospitalDetail {

    /**
     * status : 10000
     * message : 成功
     * data : {"id":907,"name":"松岗南方宠物医院","branch_name":"松岗南方宠物医院","address":"平安路","summary":"","telephone":"0755-27092893","latitude":22.77556,"longitude":113.8574,"city":"深圳","region":"宝安区","avg_rating":7.4,"hours":"尚无营业时间","avg_price":0,"comment_total":7,"photo_url":"http://7vzopr.com1.z0.glb.clouddn.com/3d48af70-edc6-ab45-afe0-ce4a37829428.jpg?imageView2/1/w/181/h/138/q/85","doctor_total":1,"coupon_total":0,"created":1425989412,"coupons":[],"followed":false,"follow":true}
     */

    private int status;
    private String message;
    /**
     * id : 907
     * name : 松岗南方宠物医院
     * branch_name : 松岗南方宠物医院
     * address : 平安路
     * summary :
     * telephone : 0755-27092893
     * latitude : 22.77556
     * longitude : 113.8574
     * city : 深圳
     * region : 宝安区
     * avg_rating : 7.4
     * hours : 尚无营业时间
     * avg_price : 0
     * comment_total : 7
     * photo_url : http://7vzopr.com1.z0.glb.clouddn.com/3d48af70-edc6-ab45-afe0-ce4a37829428.jpg?imageView2/1/w/181/h/138/q/85
     * doctor_total : 1
     * coupon_total : 0
     * created : 1425989412
     * coupons : []
     * followed : false
     * follow : true
     */

    private DataEntity data;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public String getMessage() {
        return message;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int id;
        private String name;
        private String branch_name;
        private String address;
        private String summary;
        private String telephone;
        private double latitude;
        private double longitude;
        private String city;
        private String region;
        private double avg_rating;
        private String hours;
        private int avg_price;
        private int comment_total;
        private String photo_url;
        private int doctor_total;
        private int coupon_total;
        private int created;
        private boolean followed;
        private boolean follow;
        private List<?> coupons;

        public void setId(int id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setBranch_name(String branch_name) {
            this.branch_name = branch_name;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public void setSummary(String summary) {
            this.summary = summary;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public void setRegion(String region) {
            this.region = region;
        }

        public void setAvg_rating(double avg_rating) {
            this.avg_rating = avg_rating;
        }

        public void setHours(String hours) {
            this.hours = hours;
        }

        public void setAvg_price(int avg_price) {
            this.avg_price = avg_price;
        }

        public void setComment_total(int comment_total) {
            this.comment_total = comment_total;
        }

        public void setPhoto_url(String photo_url) {
            this.photo_url = photo_url;
        }

        public void setDoctor_total(int doctor_total) {
            this.doctor_total = doctor_total;
        }

        public void setCoupon_total(int coupon_total) {
            this.coupon_total = coupon_total;
        }

        public void setCreated(int created) {
            this.created = created;
        }

        public void setFollowed(boolean followed) {
            this.followed = followed;
        }

        public void setFollow(boolean follow) {
            this.follow = follow;
        }

        public void setCoupons(List<?> coupons) {
            this.coupons = coupons;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getBranch_name() {
            return branch_name;
        }

        public String getAddress() {
            return address;
        }

        public String getSummary() {
            return summary;
        }

        public String getTelephone() {
            return telephone;
        }

        public double getLatitude() {
            return latitude;
        }

        public double getLongitude() {
            return longitude;
        }

        public String getCity() {
            return city;
        }

        public String getRegion() {
            return region;
        }

        public double getAvg_rating() {
            return avg_rating;
        }

        public String getHours() {
            return hours;
        }

        public int getAvg_price() {
            return avg_price;
        }

        public int getComment_total() {
            return comment_total;
        }

        public String getPhoto_url() {
            return photo_url;
        }

        public int getDoctor_total() {
            return doctor_total;
        }

        public int getCoupon_total() {
            return coupon_total;
        }

        public int getCreated() {
            return created;
        }

        public boolean isFollowed() {
            return followed;
        }

        public boolean isFollow() {
            return follow;
        }

        public List<?> getCoupons() {
            return coupons;
        }
    }
}
